package com.estate.common.core.domain.model.contact;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Criteria {
    private Integer id;
    private String category;
    private String method;
    private PriceRange price;
    private Range bedroom;
    private Range bathroom;
    private Range carSpaces;
    private AreaRange floorArea;
    private AreaRange landSize;
    private String lastModified;
    private List<Suburb> suburbs;
    private List<PropertyType> types;

}
